Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add highlight annotations to ebooks #2601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MxMarx
Copy link
Contributor

@MxMarx MxMarx commented Feb 11, 2024

This pull request adds the ability to highlight and save text in epubs. Saved bookmarks reuse the existing "search book" ui.

image

To accomplish this, I used the existing bookmark schema, with the time property storing the CFI of the highlighted text.
This posed a dilemma if a library item has both an audiobook and an ebook because they share the same id, so I extended the bookmark schema and api with a type property, which defaults to audio. This could cause problems if the ebook file changes after bookmarks are added, but that could probably be solved with some type of fingerprinting.

resolves #1558
resolves #1709

Should be compatible with #2584, but if not, I'll resolve any conflicts.

@Hutch79
Copy link

Hutch79 commented May 28, 2024

Hey, quick question,
What's the state of this PR?

I found this PR a while ago and was looking forward for it to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Adding bookmarks for ebooks [Enhancement]: Ebook highlighting and annotations
2 participants